import request from '@/api/request/index'

/** 上传code */
export function doBindSupWxOpenPlat(data) {
  return request.get(`/api/wx/doBindSupWxOpenPlat`, data)
}

/** 删除图片 */
export function delPhotoInfos(data) {
  return request.delete(`/api/supplier/delPhotoInfos`, data)
}

/** 下载 */
export function orderAttachmentDownload(data) {
  return request.get(`/api/supplierPoApproval/orderAttachmentDownload`, data, {responseType: 'arraybuffer'})
}